// -公共状态管理器
const state = {
	menuList: [],
}
const mutations = {
	// -function
	setMenuList(state, value) {
        state.menuList = value;
    },
}
const getters = {
	// -function
	getMenuList(state) {
        return state.menuList;
    },
}
const actions = {
	setMenuList: ({commit}, value) => commit('setMenuList', value),
}

export default {
    state,
    getters,
    actions,
    mutations
}
